
import {
  Link,
  Routes,
  Route
} from "react-router-dom";
import Home from './views/Home'
import About from './views/About'

function App() {
  return (
    <div className="App">
      <Link to="/">Home</Link> | 
      <Link to="/about">About</Link>
      <Routes>
        <Route path="/"  element={<Home />}/> 
        <Route path="about" element={<About />} />
      </Routes>
    </div>
  );
}

export default App;
